# copyright (c) 2009 - 2010 Simon Allen
#
# This file is part of Convex Media Converter.
#
# Convex Media Converter is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# Convex Media Converter is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public
# License along with Convex Media Converter; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA


include(Preferences/Preferences.pri)
include(AboutDialog/AboutDialog.pri)
include(ConvertDialog/ConvertDialog.pri)
include(MainWindow/MainWindow.pri)
include(OutputSettings/OutputSettings.pri)
include(FileProperties/FileProperties.pri)

TARGET = convex
TEMPLATE = app
CONFIG += link_pkgconfig
PKGCONFIG += glib-2.0

unix {
	QT += dbus
	PKGCONFIG += libnotify gtk+-2.0 glib-2.0 cairo pango
	INCLUDEPATH += /usr/include/gtk-2.0/ \
		/usr/lib/gtk-2.0/include/ \
		/usr/include/gdk-pixbuf-2.0/ \
		/usr/include/cairo/ \
		/usr/include/atk-1.0/
	LIBS += -ldl \
		-lmediainfo
}

win32 {
	LIBS += ..\lib\mediainfo.dll
}

SOURCES += main.cpp
HEADERS += constants.h
